<?php if(empty($isajax)):?><dl class="messagelist"><?php endif;?>
	<?php foreach ($msglist as $key => $msg):?>
	<dt class="left">
		<div class="userinfo">
			<a href="<?=$msg['spaceurl']?>" class="left avatar"><img src="<?=$msg['avatar']?>" alt="<?=$msg['mnick']?>" /></a>
			<h4><?=$msg['mnick']?></h4>
			<p></p>
		</div>
		<a href="<?=site_url('member/message/dialogue/1')?>" class="detail ani">来往记录</a>
	</dt>
	<dd class="right content">
		<div class="content">
			<?=$msg['content']?>
		</div>
		<div class="info"><span class="date"><?=$msg['puttime']?></span></div>
	</dd>
	<dd class="clear"></dd>
	<?php endforeach;?>
<?php if(empty($isajax)):?></dl>
<div class="pagination">
<a href="javascript:" onclick="loadmore(this,'.messagelist')">加载更多&gt;&gt;</a>
</div><?php endif;?>